package com.treasure.infrastructure.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sunhongmin
 * @since 2024-01-01
 */
@TableName("corp_info")
public class CorpInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业ID
     */
    private String corpId;

    /**
     * 企业名称
     */
    private String corpName;

    /**
     * 行业
     */
    private String industry;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 邀请码
     */
    private String inviteCode;

    /**
     * 是否正式开通
     */
    private Boolean hasOpen;

    /**
     * 是否删除
     */
    private Boolean hasDeleted;

    /**
     * 到期时间
     */
    private LocalDate expiryDate;

    /**
     * 企业等级
     */
    private String companyLevel;

    /**
     * 企业注册人数限制 -1: 不限制
     */
    private Integer userLimit;

    /**
     * 注册通道 access 授权、regis 注册
     */
    private String registerChannel;

    /**
     * 企业logo
     */
    private String logoUrl;

    /**
     * 自定义网站title
     */
    private String customSiteTitle;

    /**
     * 联系人
     */
    private String contactor;

    /**
     * 使用场景
     */
    private String purpose;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Boolean getHasOpen() {
        return hasOpen;
    }

    public void setHasOpen(Boolean hasOpen) {
        this.hasOpen = hasOpen;
    }

    public Boolean getHasDeleted() {
        return hasDeleted;
    }

    public void setHasDeleted(Boolean hasDeleted) {
        this.hasDeleted = hasDeleted;
    }

    public LocalDate getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(LocalDate expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getCompanyLevel() {
        return companyLevel;
    }

    public void setCompanyLevel(String companyLevel) {
        this.companyLevel = companyLevel;
    }

    public Integer getUserLimit() {
        return userLimit;
    }

    public void setUserLimit(Integer userLimit) {
        this.userLimit = userLimit;
    }

    public String getRegisterChannel() {
        return registerChannel;
    }

    public void setRegisterChannel(String registerChannel) {
        this.registerChannel = registerChannel;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getCustomSiteTitle() {
        return customSiteTitle;
    }

    public void setCustomSiteTitle(String customSiteTitle) {
        this.customSiteTitle = customSiteTitle;
    }

    public String getContactor() {
        return contactor;
    }

    public void setContactor(String contactor) {
        this.contactor = contactor;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    @Override
    public String toString() {
        return "CorpInfo{" +
        "id = " + id +
        ", corpId = " + corpId +
        ", corpName = " + corpName +
        ", industry = " + industry +
        ", createTime = " + createTime +
        ", inviteCode = " + inviteCode +
        ", hasOpen = " + hasOpen +
        ", hasDeleted = " + hasDeleted +
        ", expiryDate = " + expiryDate +
        ", companyLevel = " + companyLevel +
        ", userLimit = " + userLimit +
        ", registerChannel = " + registerChannel +
        ", logoUrl = " + logoUrl +
        ", customSiteTitle = " + customSiteTitle +
        ", contactor = " + contactor +
        ", purpose = " + purpose +
        "}";
    }
}
